package com.dymall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dymall.domain.dto.CartFormDTO;
import com.dymall.domain.po.Cart;
import com.dymall.domain.vo.CartVO;

import java.util.Collection;
import java.util.List;

public interface CartService extends IService<Cart> {
    List<CartVO> queryMyCarts();

    void addItemToCart(CartFormDTO cartFormDTO);

    void deleteCartItemByIds(Collection<Long> ids);
}
